<template>
<h1>属性绑定指定</h1>
  <input type="text" value="name">

  <input type="text" v-bind:value="name">
  <input type="text" :value="name">
  <hr>
  <a href="url">超链接</a>
  <hr>
  <a :href="url">超链接</a>

</template>



<script setup>
import {ref} from "vue";

const  name = ref('');

const url = ref('https://baidu.com');
url.value= 'https://www.qq.com'
</script>



<style scoped>

</style>